package com.example.recall_application.mvp.ui.activity;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import com.example.recall_application.app.Constants;

import org.simple.eventbus.EventBus;

public class SIPBroadcast extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        if (MainActivity.sip_flg == 1) {
            EventBus.getDefault().post(Constants.Sip_register);
        }

    }
}
